package cn.bone.springDemo.test01.config;

import cn.bone.springDemo.test01.bean.Cat;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by superbone on 2018/9/4.
 */
@Configuration
@ComponentScan("cn.bone.springDemo.test01")
public class AOPConfig {

    @Bean
    public Cat cat(){
        return new Cat();
    }
}
